package com.yanqu.road.entity.activity.washe.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_n_washepvp_card")
public class WasheCardConfig {

    private int activityId;
    private int cardId;
    private int quality;
    private long price;
    private String skillParam;
    private int cd;
    private String pic;
    private String cardName;
    private String cardDesc;
    private int itemId;
    private long maxTime;

    private List<Long> skillParamList;

    // =======================================

    public boolean isFree() {
        return price == 0;
    }

    // =======================================

    public String getSkillParam() {
        return skillParam;
    }

    public void setSkillParam(String skillParam) {
        this.skillParam = skillParam;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getCardId() {
        return cardId;
    }

    public void setCardId(int cardId) {
        this.cardId = cardId;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public long getPrice() {
        return price;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public List<Long> getSkillParamList() {
        return skillParamList;
    }

    public void setSkillParamList(List<Long> skillParamList) {
        this.skillParamList = skillParamList;
    }

    public int getCd() {
        return cd;
    }

    public void setCd(int cd) {
        this.cd = cd;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCardDesc() {
        return cardDesc;
    }

    public void setCardDesc(String cardDesc) {
        this.cardDesc = cardDesc;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public long getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(long maxTime) {
        this.maxTime = maxTime;
    }
}
